Automattic\Jetpack\Publicize\Connections S

Total Complexity 46
Dependencies 7
Dependents 5
Total lines 388
Lines of code 187
Logical lines of code 101
Comment lines 119
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
wpcom_get_connections()
S
53 7 20
get_all()
S
60 4 13
get_test_status()
S
60 4 13
retain_deprecated_fields()
S
55 3 20
wpcom_create_connection()
S
58 3 16
wpcom_update_connection()
S
58 3 16
wpcom_delete_connection()
S
58 3 16
get_all_for_user()
S
64 4 10
user_owns_connection()
S
63 4 9
wpcom_prepare_connection_data()
S
52 2 23
get_by_id()
S
65 3 9
fetch_and_cache_connections()
S
64 3 10
fetch_site_connections()
S
65 2 9
clear_cache()
S
80 1 3